home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 65 77 73 2e 6e 65 72 | 2e 62 62 6e 70 6c 61 6e |news.ner|.bbnplan|
|00000030| 65 74 2e 6e 65 74 21 61 | 72 63 6f 21 75 73 65 6e |et.net!a|rco!usen|
|00000040| 65 74 0a 46 72 6f 6d 3a | 20 42 72 69 61 6e 20 4c |et.From:| Brian L|
|00000050| 65 61 63 68 20 3c 6c 61 | 73 62 66 6c 40 61 61 69 |each <la|sbfl@aai|
|00000060| 2e 61 72 63 6f 2e 63 6f | 6d 3e 0a 53 75 62 6a 65 |.arco.co|m>.Subje|
|00000070| 63 74 3a 20 52 65 3a 20 | 45 78 70 65 72 69 65 6e |ct: Re: |Experien|
|00000080| 63 65 73 20 63 61 6c 6c | 69 6e 67 20 43 2b 2b 20 |ces call|ing C++ |
|00000090| 66 72 6f 6d 20 43 3f 0a | 58 2d 4e 6e 74 70 2d 50 |from C?.|X-Nntp-P|
|000000a0| 6f 73 74 69 6e 67 2d 48 | 6f 73 74 3a 20 31 33 36 |osting-H|ost: 136|
|000000b0| 2e 32 32 36 2e 31 31 36 | 2e 31 0a 43 6f 6e 74 65 |.226.116|.1.Conte|
|000000c0| 6e 74 2d 54 79 70 65 3a | 20 74 65 78 74 2f 70 6c |nt-Type:| text/pl|
|000000d0| 61 69 6e 3b 20 63 68 61 | 72 73 65 74 3d 75 73 2d |ain; cha|rset=us-|
|000000e0| 61 73 63 69 69 0a 54 6f | 3a 20 45 6e 6e 6f 20 53 |ascii.To|: Enno S|
|000000f0| 63 68 6f 6c 7a 20 3c 73 | 63 68 6f 6c 7a 40 6f 74 |cholz <s|cholz@ot|
|00000100| 74 6f 2e 69 6e 66 2e 66 | 75 2d 62 65 72 6c 69 6e |to.inf.f|u-berlin|
|00000110| 2e 64 65 3e 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |.de>.Mes|sage-ID:|
|00000120| 20 3c 33 31 36 39 41 43 | 46 33 2e 34 35 43 41 40 | <3169AC|F3.45CA@|
|00000130| 61 61 69 2e 61 72 63 6f | 2e 63 6f 6d 3e 0a 53 65 |aai.arco|.com>.Se|
|00000140| 6e 64 65 72 3a 20 75 73 | 65 6e 65 74 40 6e 65 77 |nder: us|enet@new|
|00000150| 73 2e 61 72 63 6f 2e 63 | 6f 6d 0a 43 6f 6e 74 65 |s.arco.c|om.Conte|
|00000160| 6e 74 2d 54 72 61 6e 73 | 66 65 72 2d 45 6e 63 6f |nt-Trans|fer-Enco|
|00000170| 64 69 6e 67 3a 20 37 62 | 69 74 0a 4f 72 67 61 6e |ding: 7b|it.Organ|
|00000180| 69 7a 61 74 69 6f 6e 3a | 20 41 52 43 4f 20 41 6c |ization:| ARCO Al|
|00000190| 61 73 6b 61 20 49 6e 63 | 2e 0a 52 65 66 65 72 65 |aska Inc|..Refere|
|000001a0| 6e 63 65 73 3a 20 3c 53 | 43 48 4f 4c 5a 2e 39 36 |nces: <S|CHOLZ.96|
|000001b0| 41 70 72 37 30 31 32 38 | 34 39 40 6f 74 74 6f 2e |Apr70128|49@otto.|
|000001c0| 69 6e 66 2e 66 75 2d 62 | 65 72 6c 69 6e 2e 64 65 |inf.fu-b|erlin.de|
|000001d0| 3e 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |>.Mime-V|ersion: |
|000001e0| 31 2e 30 0a 44 61 74 65 | 3a 20 54 75 65 2c 20 39 |1.0.Date|: Tue, 9|
|000001f0| 20 41 70 72 20 31 39 39 | 36 20 30 30 3a 31 38 3a | Apr 199|6 00:18:|
|00000200| 35 39 20 47 4d 54 0a 58 | 2d 4d 61 69 6c 65 72 3a |59 GMT.X|-Mailer:|
|00000210| 20 4d 6f 7a 69 6c 6c 61 | 20 32 2e 30 20 28 58 31 | Mozilla| 2.0 (X1|
|00000220| 31 3b 20 49 3b 20 48 50 | 2d 55 58 20 41 2e 30 39 |1; I; HP|-UX A.09|
|00000230| 2e 30 35 20 39 30 30 30 | 2f 37 35 35 29 0a 0a 45 |.05 9000|/755)..E|
|00000240| 6e 6e 6f 20 53 63 68 6f | 6c 7a 20 77 72 6f 74 65 |nno Scho|lz wrote|
|00000250| 3a 0a 3e 20 0a 3e 20 48 | 65 6c 6c 6f 2c 0a 3e 20 |:.> .> H|ello,.> |
|00000260| 0a 3e 20 20 20 20 20 49 | 20 77 6f 75 6c 64 20 67 |.> I| would g|
|00000270| 72 65 61 74 6c 79 20 61 | 70 70 72 65 63 69 61 74 |reatly a|ppreciat|
|00000280| 65 20 61 6e 79 20 68 65 | 6c 70 20 77 69 74 68 20 |e any he|lp with |
|00000290| 63 61 6c 6c 69 6e 67 20 | 43 2b 2b 20 66 75 6e 63 |calling |C++ func|
|000002a0| 74 69 6f 6e 73 0a 3e 20 | 66 72 6f 6d 20 43 21 0a |tions.> |from C!.|
|000002b0| 3e 20 0a 3e 20 20 20 20 | 20 49 20 68 61 76 65 20 |> .> | I have |
|000002c0| 72 65 61 64 20 74 68 65 | 20 46 41 51 2c 20 49 20 |read the| FAQ, I |
|000002d0| 6b 6e 6f 77 20 74 68 61 | 74 20 6f 6e 65 20 6d 75 |know tha|t one mu|
|000002e0| 73 74 20 64 65 63 6c 61 | 72 65 20 74 68 65 20 43 |st decla|re the C|
|000002f0| 2b 2b 0a 3e 20 66 75 6e | 63 74 69 6f 6e 73 20 77 |++.> fun|ctions w|
|00000300| 69 74 68 20 22 65 78 74 | 65 72 6e 20 43 2b 2b 22 |ith "ext|ern C++"|
|00000310| 20 61 6e 64 20 49 27 6d | 20 70 61 73 73 69 6e 67 | and I'm| passing|
|00000320| 20 6e 6f 74 68 69 6e 67 | 20 62 75 74 20 76 6f 69 | nothing| but voi|
|00000330| 64 20 70 6f 69 6e 74 65 | 72 73 0a 3e 20 28 6e 6f |d pointe|rs.> (no|
|00000340| 20 73 74 72 75 63 74 73 | 29 2c 20 62 75 74 20 73 | structs|), but s|
|00000350| 74 69 6c 6c 20 6d 79 20 | 70 72 6f 67 72 61 6d 20 |till my |program |
|00000360| 63 72 61 73 68 65 73 20 | 69 6e 20 74 68 65 20 66 |crashes |in the f|
|00000370| 69 72 73 74 20 43 2b 2b | 20 66 75 6e 63 74 69 6f |irst C++| functio|
|00000380| 6e 3a 0a 3e 20 54 68 65 | 20 67 64 62 20 73 74 61 |n:.> The| gdb sta|
|00000390| 63 6b 20 73 68 6f 77 73 | 20 61 20 6e 75 6d 62 65 |ck shows| a numbe|
|000003a0| 72 20 6f 66 20 69 6e 76 | 6f 63 61 74 69 6f 6e 73 |r of inv|ocations|
|000003b0| 20 6f 66 20 73 6f 6d 65 | 20 75 6e 6b 6e 6f 77 6e | of some| unknown|
|000003c0| 2d 74 6f 2d 6d 65 0a 3e | 20 66 75 6e 63 74 69 6f |-to-me.>| functio|
|000003d0| 6e 20 5f 65 6e 64 20 28 | 29 2c 20 66 6f 6c 6c 6f |n _end (|), follo|
|000003e0| 77 65 64 20 62 79 20 61 | 20 73 65 67 6d 65 6e 74 |wed by a| segment|
|000003f0| 61 74 69 6f 6e 20 66 61 | 75 6c 74 20 69 6e 20 61 |ation fa|ult in a|
|00000400| 20 63 6f 6e 73 74 72 75 | 63 74 6f 72 0a 3e 20 66 | constru|ctor.> f|
|00000410| 75 6e 63 74 69 6f 6e 20 | 49 20 6e 65 76 65 72 20 |unction |I never |
|00000420| 63 61 6c 6c 2e 0a 3e 20 | 0a 3e 20 20 20 20 41 6e |call..> |.> An|
|00000430| 79 20 68 65 6c 70 20 77 | 69 6c 6c 20 62 65 20 6d |y help w|ill be m|
|00000440| 6f 73 74 20 77 65 6c 63 | 6f 6d 65 21 0a 3e 20 0a |ost welc|ome!.> .|
|00000450| 3e 20 45 6e 6e 6f 0a 0a | 45 6e 6e 6f 2c 0a 0a 45 |> Enno..|Enno,..E|
|00000460| 76 65 72 79 20 72 65 66 | 65 72 65 6e 63 65 20 49 |very ref|erence I|
|00000470| 20 68 61 76 65 20 65 76 | 65 72 20 72 65 61 64 20 | have ev|er read |
|00000480| 73 61 79 73 20 74 68 65 | 20 6d 61 69 6e 20 66 75 |says the| main fu|
|00000490| 6e 63 74 69 6f 6e 20 6d | 75 73 74 20 62 65 0a 63 |nction m|ust be.c|
|000004a0| 6f 6d 70 69 6c 65 64 20 | 77 69 74 68 20 43 2b 2b |ompiled |with C++|
|000004b0| 2e 20 46 72 6f 6d 20 6d | 61 69 6e 2c 20 79 6f 75 |. From m|ain, you|
|000004c0| 20 6d 61 79 20 74 68 65 | 6e 20 63 61 6c 6c 20 79 | may the|n call y|
|000004d0| 6f 75 72 20 63 20 72 6f | 75 74 69 6e 65 73 2c 0a |our c ro|utines,.|
|000004e0| 66 72 6f 6d 20 77 68 69 | 63 68 20 79 6f 75 20 6d |from whi|ch you m|
|000004f0| 61 79 20 74 68 65 6e 20 | 63 61 6c 6c 20 61 6c 6c |ay then |call all|
|00000500| 20 74 68 65 20 43 2b 2b | 20 72 6f 75 74 69 6e 65 | the C++| routine|
|00000510| 73 20 79 6f 75 20 73 6f | 20 64 65 73 69 72 65 2e |s you so| desire.|
|00000520| 0a 54 68 65 20 6b 65 79 | 20 69 73 20 63 6f 6d 70 |.The key| is comp|
|00000530| 69 6c 69 6e 67 20 6d 61 | 69 6e 20 77 69 74 68 20 |iling ma|in with |
|00000540| 43 2b 2b 20 72 61 74 68 | 65 72 20 74 68 61 6e 20 |C++ rath|er than |
|00000550| 43 2e 0a 0a 2d 42 72 69 | 61 6e 20 3a 2d 29 0a 6c |C...-Bri|an :-).l|
|00000560| 61 73 62 66 6c 40 61 61 | 69 2e 61 72 63 6f 2e 63 |asbfl@aa|i.arco.c|
|00000570| 6f 6d 0a | |om. | |
+--------+-------------------------+-------------------------+--------+--------+